﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeneralDFS.DataEntity.Enum;
using GeneralDFS.DataEntity.IO;

namespace GeneralDFS.BusinessLogical.Lease
{
    public class Lease
    {
        public Guid Guid;
        private String _filePath;
        private FileBlockInfo[] _blockInfos;

        public Lease()
        {}

        public Lease(String src, LeaseType type, FileBlockInfo[] blockInfos)
        {
            Guid = Guid.NewGuid();
            _filePath = src;
            _blockInfos = blockInfos;
        }
    }
}
